package com.winit.schedule.core.repository.query;

import java.util.List;

import com.winit.schedule.core.repository.constants.TaskItemStatus;
import com.winit.schedule.core.repository.entity.TaskItemEntity;

public class TaskItemQuery extends TaskItemEntity {

    /**
     * serialVersionUID
     */
    private static final long    serialVersionUID = 2773790297770609029L;

    private String               taskTrackerIp;

    private String               queryJobId;

    private String               queryTaskId;

    /**
     * 任务运行最小时长，用于正在运行的超过时长的任务项
     */
    private long                 longTime;

    /**
     * 超时时间
     */
    private long                 timeout;

    private List<TaskItemStatus> taskItemStatusList;

    public TaskItemQuery(){
    }

    public String getTaskTrackerIp() {
        return taskTrackerIp;
    }

    public void setTaskTrackerIp(String taskTrackerIp) {
        this.taskTrackerIp = taskTrackerIp;
    }

    public long getTimeout() {
        return timeout;
    }

    public void setTimeout(long timeout) {
        this.timeout = timeout;
    }

    public List<TaskItemStatus> getTaskItemStatusList() {
        return taskItemStatusList;
    }

    public void setTaskItemStatusList(List<TaskItemStatus> taskItemStatusList) {
        this.taskItemStatusList = taskItemStatusList;
    }

    public String getQueryJobId() {
        return queryJobId;
    }

    public void setQueryJobId(String queryJobId) {
        this.queryJobId = queryJobId;
    }

    public String getQueryTaskId() {
        return queryTaskId;
    }

    public void setQueryTaskId(String queryTaskId) {
        this.queryTaskId = queryTaskId;
    }

    public long getLongTime() {
        return longTime;
    }

    public void setLongTime(long longTime) {
        this.longTime = longTime;
    }

}
